home *** CD-ROM | disk | FTP | other *** search
Text File | 1990-05-24 | 3.2 KB | 108 lines | [TEXT/MPS ] |
-
- To whom it may concern:
-
- I am desperately trying to solve this problem, and I am pleading with anybody to
- help me solve it or at least help me verify it...
-
- I am using the load/dump feature of C++ and not using the standard load/dump file
- that MABuild creates, I create my own load/dump file. I am confident that my MAMake file
- is correct.
-
- My problem started when I turn on the -sym option.
-
- I have a 16000 line C++ project that load/dump works on, it is able to link and generate
- correct SADE information. I am wondering why it doesn't work on this small program.
-
-
-
- Some of you on this distribution list will get my source code, some will not,
- if you want my code, please contact me and I will send it right away.
-
- Thank you
- - Bob Pappas
- 612-342-1195
- Link: D4280
-
-
-
-
-
-
- Here is my problem,
-
- I build this program with the following versions of software:
- C++ 3.?b4
- MacApp 2.0 final
- MPW 3.1
-
- mabuild -names -debug -inspector Shell -linkmap -cplusload -sym <-- Execute this line
-
- MABuildTool - v. 2.0 Release 3/22/90 Start: 11:13:59 AM 5/24/90
-
- Copyright Apple Computer, Inc. 1986-1990
- All Rights Reserved.
-
- Target Folder: "HD:MPW_Projects:Source_Code:Shell.src:.Debug Sym:"
- Making: Shell.MAMake
- C++ Dump: dump.h.dump
- Compiling: TMultiSet.cp
- Compiling: TFMPDataDesc.cp
- Compiling: TFMPMapParse.cp
- Compiling: TFMPDataParse.cp
- Compiling: UShell.cp
- Compiling: MShell.cp
- Linking: Shell
- ### While reading file "HD:MPW_Projects:Source_Code:Shell.src:.Debug Sym:UShell.cp.o"
- ### Link: Error: Module/EntryPoint has previous (conflicting) type: (Error 14) TSHELLDOCUMENT_ISHELLDOCUMENT (5)
- <Bad object file or compiler error.>
- ### Link: Error: Internal problem (or bad object file): (Error 91) a scope ID (5) referred to a non-scope object
- ### Link: Errors prevented normal completion.
- ### MPW Shell - Command " " was not found.
- ### MPW Shell - Execution of HD:MPW_Projects:Source_Code:Shell.src:.Debug Sym:Shell.MakeIt terminated.
- ### MPW Shell - Execution of mabuild terminated.
-
- The above does work however, if I don't generate SADE information.
- UShell.cp.o appears to be corrupted.
-
-
-
-
- Then I comment out 2 lines of the Shell.MAMake file so it doesn't do load/dump stuff,
-
- OtherLinkFiles = ∂
- # "{ObjApp}"dump.h.o ∂ <--- comment out this line
- "{ObjApp}"TMultiSet.cp.o ∂
- "{ObjApp}"TFMPDataDesc.cp.o ∂
- "{ObjApp}"TFMPMapParse.cp.o ∂
- "{ObjApp}"TFMPDataParse.cp.o
-
- #CPlusLoadOptions = -mf -load "{ObjApp}"dump.h.dump <--- comment out this line
-
-
- and execute the following:
-
- mabuild -names -debug -inspector Shell -linkmap -sym
-
- MABuildTool - v. 2.0 Release 3/22/90 Start: 10:47:42 AM 5/24/90
-
- Copyright Apple Computer, Inc. 1986-1990
- All Rights Reserved.
-
- Target Folder: "HD:MPW_Projects:Source_Code:Shell.src:.Debug Sym:"
- Making: Shell.MAMake
- Compiling: TMultiSet.cp
- Compiling: TFMPDataDesc.cp
- Compiling: TFMPMapParse.cp
- Compiling: TFMPDataParse.cp
- Compiling: UShell.cp
- Compiling: MShell.cp
- Linking: Shell
- Rezzing: Shell.r
- PostRezzing: Shell
- "HD:MPW_Projects:Source_Code:Shell.src:.Debug Sym:Shell" # <- Execute to run your application
- Completion time for MABuild is Thursday, May 24, 1990 10:59:21 AM
-
-
- And it works!!!!!
-
- What is wrong?